package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.OrderGasTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @since 2024/10/21 10:41
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_order_gas_detail")
public class OrderGasDetail extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 8228549421468264327L;

    /**
     * 订单类型  1：寄售  2：集售
     */
    private OrderGasTypeEnum orderType;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 订单时间
     */
    private Date orderTime;

    /**
     * 上链费
     */
    private BigDecimal gas;

    /**
     * 是否已统计
     */
    private Boolean counted;

    /**
     * 是否已结算
     */
    private Boolean settled;

}
